package com.dianmi.seckill.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dianmi.seckill.entity.OrderInfo;
import org.apache.ibatis.annotations.Param;

/**
 * @author xieqiaofu
 * @date 2021/4/12
 */
public interface OrderDao extends BaseMapper<OrderInfo> {

    OrderInfo selectUserOrder(@Param("productId") Long productId, @Param("userId") Long userId);
}
